home *** CD-ROM | disk | FTP | other *** search
- ; default code for a text box control
-
- ; got focus to change background color
- sub <<controlname>>_GotFocus(Index as integer)
- <<controlname>>(Index).BackColor = HIGH_BACKCOLOR
- <<controlname>>(Index).SelLength = len(<<controlname>>(Index).Text)
- <<controlname>>(Index).SelStart = 0
- end sub
-
- ; got focus to change background color
- sub <<controlname>>_LostFocus(Index as integer)
- <<controlname>>(Index).BackColor = NORM_BACKCOLOR
- <<controlname>>(Index).SelLength = 0
- end sub
-
-
-